package events {
    import flash.events.Event;
    
    public class RoomClickEvent extends Event {
        
        //------------------------------------------------------------
        //
        // class constants
        //
        //------------------------------------------------------------
        
        /**
         * room click string constant
         */
        public static const ROOM_CLICK:String = "roomclick";
        
        //------------------------------------------------------------
        //
        // object variables
        //
        //------------------------------------------------------------
        
        //------------------------------
        // roomID
        //------------------------------

        /**
         * the id of the room
         */
        private var _roomID:uint;

        public function get roomID():uint {
            return _roomID;
        }

        public function set roomID(roomID:uint):void {
            _roomID = roomID;
        }

        //------------------------------------------------------------
        //
        // constructor
        //
        //------------------------------------------------------------
        
        public function RoomClickEvent(roomID:uint) {
            super(ROOM_CLICK, true);
            this.roomID = roomID;
        }
    
    }
}